﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Changepassword.aspx.cs" Inherits="views_customer_Changepassword" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link rel="stylesheet"href="../../assets/lib/css/bootstrap.min.css" />
    <link rel="stylesheet"href="../../assets/lib/css/1.css" />
     <style>
    /* 导入一个名为 Pacifico 的字体 */
    @import url('https://fonts.googleapis.com/css?family=Pacifico');
    
    .top-text {
        font-family: 'Pacifico', cursive;
        color: white;
        font-size: 60px;       
        text-align: center;
    }

</style>
</head>
<body class="img11">
    
    <div class="top-text">
        <strong>账号密码重置</strong>
</div>
    <div class="container-fluid">
        <div class="row mt-5 mb-5">

        </div>
        <div class="row">
            <div class="col">

            </div>
            <div class="col">
                <form id="form1" runat="server">
                    
                        <div class="row">
                            <div class="col-md-4"></div>  
                            <div class="col-md-8"></div> 
                        </div>
                          
                    
                 <table>
					<tr class="mt-3">
						<td for="" class="form-label"style="color:white">用户:</td>
						<td><asp:TextBox ID="txtName" runat="server" Width="460px"></asp:TextBox></td>
						<td>
							<asp:RequiredFieldValidator ControlToValidate="txtName" Display="Dynamic" ForeColor="Red" ID="rfvName" runat="server" ErrorMessage="必填"></asp:RequiredFieldValidator>
						</td>



					</tr>
					<tr class="mt-3">
						<td for="" class="form-label"style="color:white">邮箱:</td>
						<td><asp:TextBox ID="txtEmail" runat="server" Width="460px"></asp:TextBox></td>
						<td>
							<asp:RequiredFieldValidator ControlToValidate="txtEmail" Display="Dynamic" ForeColor="Red" ID="RequiredFieldValidator1" runat="server" ErrorMessage="必填"></asp:RequiredFieldValidator>
						</td>
					</tr>

						<tr>
							<td class="tdright" colspan="2"style="color:white">
							<asp:RegularExpressionValidator ID="revEmail" runat="server"
								ErrorMessage="邮箱格式不正确！" ControlToValidate="txtEmail" Display="Dynamic" ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
							</td>
						</tr>
				
						<tr>
							<td colspan="2"style="color:white">找回密码，需要验证邮箱！</td>
						</tr>
						<tr>
							<td colspan="2">
							<asp:Label ID="lblMsg" runat="server" ForeColor="Red"></asp:Label></td>
						</tr>



				</table>

               <div class="mt-3 d-grid">
                     <asp:Button Text="确认找回密码" runat="server" Class="btn-success btn" style="background-color:black;margin:auto;width:300px" OnClick="Unnamed1_Click"/>                            
              </div>
              <div class="mt-3 d-grid">
                     <asp:Button Text="返回" runat="server" Class="btn-success btn" style="background-color:black;margin:auto;width:300px" OnClick="Unnamed2_Click" />                       
              </div>

            </form>
        </div>
            <div class="col">

            </div>
        
        </div>
    </div>
</body>
</html>
